home *** CD-ROM | disk | FTP | other *** search
- /*
- * $Log: arc.h,v $
- * Revision 1.3 88/04/11 17:42:21 hyc
- * nothing much, just run thru indent...
- *
- * Revision 1.2 88/04/11 17:40:24 hyc
- * added flag for squashing, got rid of EXTERN macro.
- *
- * Revision 1.1 88/04/11 17:36:04 hyc
- * Initial revision
- *
- * Revision 1.2 87/12/19 03:58:14 hyc
- * #define BSD instead of MTS, make the image mode flag ndef'ed to MSDOS
- * instead of def'ed to MTS...
- *
- * Revision 1.1 87/12/19 03:54:37 hyc
- * Initial revision
- *
- * Revision 1.4 87/08/13 17:02:56 hyc
- * Run thru the indent program...
- * Revision 1.3 87/07/21 11:45:29 hyc *** empty log
- * message ***
- *
- * Revision 1.2 87/07/21 06:30:26 hyc modified for unix
- *
- */
-
- #undef MSDOS /* MSDOS machine */
- #define BSD /* BSD4.2 or 4.3 */
- #undef MTS /* MTS or 370(?) */
-
- #ifdef BSD
- #include <ctype.h>
- #define INT short
- #define LONG long
- #define envfind getenv
- #endif
-
- #ifdef MTS
- #define INT short
- #define LONG long
- #define rindex strrchr
- #define index strchr
- #define envfind getenv
- #undef USEGFINFO /* define this to use GFINFO for directory */
- #define USECATSCAN /* scanning, else use CATSCAN/FILEINFO... */
- #endif
-
- #ifdef MSDOS
- #define INT int
- #define LONG long
- #endif
-
- /*
- * ARC - Archive utility - ARC Header
- *
- * Version 2.16, created on 10/24/86 at 14:54:17
- *
- * (C) COPYRIGHT 1985,86 by System Enhancement Associates; ALL RIGHTS RESERVED
- *
- * By: Thom Henderson
- *
- * Description: This is the header file for the ARC archive utility. It defines
- * global parameters and the references to the external data.
- *
- *
- * Language: Computer Innovations Optimizing C86
- */
-
- #ifndef DONT_DEFINE /* Defined by arcdata.c */
- #include "arcs.h"
-
- extern INT keepbak; /* true if saving the old archive */
- #ifndef MSDOS
- extern INT image; /* true to suppress CRLF/LF x-late */
- #endif
- #ifdef MTS
- extern char sepchr[2]; /* Shared file separator, default = ':' */
- extern char tmpchr[2]; /* Temporary file prefix, default = '-' */
- #endif
- extern INT warn; /* true to print warnings */
- extern INT note; /* true to print comments */
- extern INT bose; /* true to be verbose */
- extern INT nocomp; /* true to suppress compression */
- extern INT overlay; /* true to overlay on extract */
- extern INT kludge; /* kludge flag */
- extern char *arctemp; /* arc temp file prefix */
- extern char *password; /* encryption password pointer */
- extern INT nerrs; /* number of errors encountered */
-
- extern char hdrver; /* header version */
-
- extern FILE *arc; /* the old archive */
- extern FILE *new; /* the new archive */
- extern char arcname[100]; /* storage for archive name */
- extern char bakname[100]; /* storage for backup copy name */
- extern char newname[100]; /* storage for new archive name */
- extern unsigned INT arcdate; /* archive date stamp */
- extern unsigned INT arctime; /* archive time stamp */
- extern unsigned INT olddate; /* old archive date stamp */
- extern unsigned INT oldtime; /* old archive time stamp */
- extern INT dosquash; /* squash instead of crunch */
- #endif /* DONT_DEFINE */
-